package com.xm.xmapp.app;

import android.os.Environment;

public class CodeConstant {

	/**
	 * 定位点圆半径
	 */
	public static final float radius = 500f;
	/**
	 * 分享参数
	 */

	public static final String wechatAppId = "wx6170f5118eeac379";
	public static final String wechatAppSecret = "5388cc7ee8fe9a01d55961976adc8537";
	public static final String sinaAppId = "2035038075";
	public static final String sinaAppSecret = "08bb7551f260dc4dbdc0f6e7310ae2e1";
	public static final String qqAppId = "1105689903";
	public static final String qqAppSecret = "8zvTRRvHBSsj4AYQ";
	/**
	 * 定位权限申请码
	 */

	public static final int dingweiCode = 1;
	/**
	 * 是否是测试开发阶段
	 */
	public static boolean Test = false;

	/**
	 * 微信APPID
	 */
	public static String APPID = "";

	/**
	 * 首页汽车图标动画时间
	 */

	public static final int AnimationSetTime = 500;
	/**
	 * 首页汽车图标移除屏幕外的距离
	 */
	public static float AnimationSetY = 0;

	/**
	 * 首页分时预约页面移除屏幕外的距离
	 */
	public static float FenshiAnimationSetY = -500;

	/**
	 * 引导页延迟时间
	 */

	public static final int time = 1000;

	/**
	 * 推送消息，至少10秒取一次数据
	 */

	public static final int pushTime = 10000;

	/**
	 * 地图缩放级别
	 */

	public static final int X = 14;

	/**
	 * 客服电话
	 */

	public static final String phone = "4000-186-111";

	/**
	 * 一步用车二维码字符串格式http://www.1byongche.com/download/app.html?y=00000012345&t=1
	 */

	public static final String HTML = "http://www.1byongche.com/download/app.html?";
	/**
	 * 特来电二维码字符串格式hlht://340245323.36414254
	 */
	public static final String THTML = "hlht://";
	/**
	 * 客服邮箱
	 */

	public static final String email = "web@1byongche.com";

	/**
	 * app默认的页大小
	 */

	public static final int pageSize = 10;

	/**
	 * 还车请求码
	 */
	public static final int HCActivity = 1;

	/**
	 * 实名认证拍照求码
	 */
	public static final int TakePhoto = 3;

	/**
	 * 车辆反馈拍照求码
	 */
	public static final int CarTakePhoto = 4;

	/**
	 * 充电桩拍照求码
	 */
	public static final int PileTakePhoto = 3;

	/**
	 * 地址搜索
	 */
	public static final int AddressCode = 4;

	/**
	 * 银行卡类型选择
	 */
	public static final int BankCode = 6;

	/**
	 * 长租租时选择
	 */
	public static final int ZushiCode = 6;


	/**
	 * 实名认证拍照临时照片路径
	 */
	public static final String PhotoPath = Environment.getExternalStorageDirectory() + "/image.jpg";
	/**
	 * 首页新手指导
	 */

	public static final String ISXINSHOU = "isXinshou";

	/**
	 * 消息保存。服务器数据
	 */
	public static String messageServer = "messageServer" + MyAppcation.getMyAppcation().getUid();

	/**
	 * 消息保存。客户端数据
	 */
	public static String messageClient = "messageClient" + MyAppcation.getMyAppcation().getUid();

	/**
	 * 数据库名称DB_NAME
	 */
	public static final String DB_NAME = "msg_db.db";

	/**
	 * 数据库系统消息表名称
	 */
	public static final String System_message = "system_message";

	/**
	 * 数据库系统消息表字段名称
	 */
	public static final String System_message_id = "system_message_id";

	/**
	 * 数据库活动消息表名称
	 */
	public static final String Activity_message = "activity_message";

	/**
	 * 申请的大客户名称保存 调用的地方需要+uid
	 */
	public static final String Info = "info";

	/**
	 * 数据库活动消息表字段名称
	 */
	public static final String Activity_id = "activity_id";

	/**
	 * 数据库我的资产表名称
	 */
	public static final String User_message = "user_message";

	/**
	 * 数据库我的资产表字段名称
	 */
	public static final String User_message_id = "user_message_id";

	/**
	 * 我的资产本地最大id
	 */
	public static String Max_user_message_id = "max_user_message_id" + MyAppcation.getMyAppcation().getUid();
	/**
	 * 我的资产本地最小id
	 */
	public static String Min_user_message_id = "min_user_message_id" + MyAppcation.getMyAppcation().getUid();

	/**
	 * 系统消息最大id
	 */
	public static String Max_system_message_id = "max_system_message_id" + MyAppcation.getMyAppcation().getUid();;

	/**
	 * 系统消息最小id
	 */
	public static String Min_system_message_id = "min_system_message_id" + MyAppcation.getMyAppcation().getUid();;

	/**
	 * 活动消息最大id
	 */
	public static String Max_activity_id = "max_activity_id" + MyAppcation.getMyAppcation().getUid();;

	/**
	 * 活动消息最小id
	 */
	public static String Min_activity_id = "min_activity_id" + MyAppcation.getMyAppcation().getUid();;

	/**
	 * 拉取网点信息保存本地次数
	 */
	public static final String Get_all_network_coords_time = "Get_all_network_coords_time" + Constants.v;

	/**
	 * 充电桩网点保存
	 */
	public static final String Get_all_network_time = "Get_all_network_time" + Constants.v;

	/**
	 * 常见问题版本号保存
	 */
	public static final String Question_version_number = "question_version_number" + Constants.v;

	/**
	 * s搜索历史 cache 保存
	 */
	public static final String SearchCity = "serachCity";
	/**
	 * 是否打开过引导页
	 */
	public static final String YseOrNo = "yesORno";

	/**
	 * 航展是否显示
	 */
	public static final String SHOWTIME = "showtime";

	/**
	 * 总文件夹的路径
	 */
	public static final String RootFileL = Environment.getExternalStorageDirectory().getAbsolutePath() + "/" + "clog"
			+ "/";

	/**
	 * 服务器错误数据保存的路径
	 */
	public static final String SerVerRootFileL = Environment.getExternalStorageDirectory().getAbsolutePath() + "/"
			+ "SerVer" + "/";

	/**
	 * 使用说明不在提示
	 */
	public static String InstructionActivityFlag = "InstructionActivityFlag";

	/**
	 * 公告提示
	 */
	public static String GongGaoFlag = "GongGaoFlag";

	public static final String APPLICATION_NAME = "myApp";
	// 单次最多发送图片数
	public static final int MAX_IMAGE_SIZE = 6;
	// 首选项:临时图片
	public static final String PREF_TEMP_IMAGES = "pref_temp_images";

	// 相册中图片对象集合
	public static final String EXTRA_IMAGE_LIST = "image_list";
	// 相册名称
	public static final String EXTRA_BUCKET_NAME = "buck_name";
	// 可添加的图片数量
	public static final String EXTRA_CAN_ADD_IMAGE_SIZE = "can_add_image_size";

	// 当前选择的照片位置
	public static final String EXTRA_CURRENT_IMG_POSITION = "current_img_position";

	/**
	 * photo path
	 */
	public static final String Photo_Path = Environment.getExternalStorageDirectory() + "/yibuyongche/photo/";

	/**
	 * 钱包充值最小金额
	 */
	public static final float MIN_WALLET_PAY = 10f;
	/**
	 * 钱包充值最大金额
	 */
	public static final int MAX_WALLET_PAY = 100000;
	/**
	 * 车辆押金充值最小金额
	 */
	public static final float MIN_CAR_FROZEN_PAY = 10f;
	/**
	 * 车辆押金充值最大金额
	 */
	public static final int MAX_CAR_FROZEN_PAY = 100000;
	/**
	 * 违章押金充值最小金额
	 */
	public static final float MIN_FROZEN_PAY = 10f;
	/**
	 * 违章押金充值最大金额
	 */
	public static final int MAX_FROZEN_PAY = 100000;
	/**
	 * face++ key
	 */
	public static final String api_key = "05oLi3_sdQeEaO-lBG1EUPv9X8Q1KhxZ";
	public static final String api_secret = "BedZVX7TxoTBrmAATkowbHezKfJMFP9B";
}
